home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / QuickDraw / ClutWind / CLUTSample.make < prev    next >
Encoding:
Text File  |  1992-07-15  |  1.4 KB  |  40 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    CLUTSample
  5. #
  6. #   Loosely based in the sample SAMPLE this program shows
  7. #   how to create a window and display on it the colors of the CLUT
  8. #    associated with the device the window sits on top of.
  9. #
  10. #    Left to the curious reader are some improvements such as, remembering the
  11. #    positions of each open window, so if you use this program to monitor your
  12. #    color tables it will position the windows in the last place you opened them.
  13. #    The treatment of direct devices is kind of 'casual' a better color display may 
  14. #    be appropriate. Last, it may be desireable to change the size of the color
  15. #    rectangles depending on the depth of the color table.
  16.  
  17. #    Check Sample sources for more detailed documentation.
  18.  
  19. # If ANY changes are made to the include file, you MUST perform
  20. # a full build of ALL source files.  The dependencies below will
  21. # cause all source file to be assembled if the ASample.inc1.a is updated.
  22.  
  23. AOptions        = -w
  24.  
  25. AObjs            = CLUTSample.a.o ∂
  26.                     CLUTSampleMisc.a.o ∂
  27.                     "{Libraries}"Runtime.o ∂
  28.                     "{Libraries}"Interface.o
  29.  
  30. CLUTSample.a.o        ƒƒ CLUTSample.make CLUTSample.inc1.a
  31.  
  32. CLUTSampleMisc.a.o    ƒƒ CLUTSample.make CLUTSample.inc1.a
  33.  
  34. CLUTSample            ƒƒ {AObjs} CLUTSample.make
  35.                     Link -o {Targ} {AObjs}
  36.                     SetFile {Targ} -t APPL -c 'MOOS' -a B
  37.  
  38. CLUTSample            ƒƒ CLUTSample.r CLUTSample.h CLUTSample.make
  39.                     Rez -rd -o {Targ} CLUTSample.r -append
  40.